package com.whmskj.xjlhbc.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@Schema(name = "生产计划响应参数",description = "生产计划响应参数")
public class ScPlanDto {

    @Schema(description = "浆纱1号")
    private String js1;

    @Schema(description = "浆纱1号")
    private String js2;

    @Schema(title = "品种计划列表")
    private List<PlanList> planList = new ArrayList<>();

    @Schema(title = "改织计划列表")
    private List<String> gzList = new ArrayList<>();

    @Schema(title = "原料/浆料/备件计划列表")
    private List<String> yjbList = new ArrayList<>();

    @Data
    public static class PlanList{
        @Schema(description = "品号")
        private String ph;

        @Schema(description = "品名")
        private String pm;

        @Schema(description = "开台数190")
        private String startAt190;

        @Schema(description = "开台数230")
        private String openingNumber230;

        @Schema(description = "存轴190")
        private String axes190;

        @Schema(description = "存轴230")
        private String axes230;

        @Schema(description = "穿轴190")
        private String axle190;

        @Schema(description = "穿轴230")
        private String axle230;

        @Schema(description = "了机190早+夜")
        private String amNight5;

        @Schema(description = "了机230早+夜")
        private String amNight230;

        @Schema(description = "筘号")
        private String kh;

        @Schema(description = "头份")
        private String tf;

        @Schema(description = "备注")
        private String bz;
    }

}
